home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 18
/
CU Amiga Magazine's Super CD-ROM 18 (1997)(EMAP Images)(GB)[!][issue 1998-01].iso
/
CUCD
/
Utilities
/
Laplace
/
Projects
/
physic_PI_11
< prev
next >
Wrap
Text File
|
1996-06-28
|
746b
|
48 lines
#LAPLACE
#USEFLOAT=FALSE
#SIMPLIFY=TRUE
#ERRBND=15
#EXPDSP=5
#PREC=8
#F1=f(x)=
#F2=g(x)=
#F3=h(x)=f(x)/g(x)
#F4=matrix(
#F5=vector(
#F6=diff(f)
#F7=diff(g)
#F8=diff(h)
#F9=taylor(f,0)
#F10=taylor(f,1)
#F11=%(run type s:startup-sequence)
#F12=
#F13=
#F14=
#F15=
#F16=
#F17=
#F18=
#F19=
#F20=
L=0.357
g=9.81
v_1=sqrt(2*g*L)
m_1=5e-3
m_2=0.110+0.027
v_2(m_2)=v_1*m_1/(m_1+m_2)
v=v_2(m_2)
dv_2(m_2)=abs(diff(v_2))*3e-3
dv_2(m_2)
1/2*(m_1,m_2)*v_2(m_2)^2
x_0(m,v,D)=v*sqrt(m/D)
m=m_1+m_2
D=3.24
x_0(m,v,D)
dx_0(m,v,D)=sqrt( (diff(x_0,m)*3e-3)^2 + (diff(x_0,v)*0.2e-2)^2 + (diff(x_0,D)*0.38)^2) )
a(m,v,D)=(diff(x_0,m)*3e-3)^2
b(m,v,D)=(diff(x_0,v)*0.2e-2)^2
c(m,v,D)=(diff(x_0,D)*0.38)^2
dx_0(m,v,D)=sqrt(a(m,v,D) + b(m,v,D) + c(m,v,D) )
dx_0(m,v,D)